<?php
/**
 *   admin 模块 配置
 */
 return
    [
      "base"=>[
          "a" =>
              [
                  "Filed" => ["*"],

              ],
      ],
        /**
         *  股票配置代码
         */
       "shares"=> [
           "a" =>
               [
                   "Filed" => ["id", "name", "code","mstatus"],
                   "Label" => [ "ID","股票名称","股票代码","状态"],
               ],
           "m" =>
               [
                   "Filed" => [ "attr","fifteen","one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten", "eleven", "twelve", "fday", "tday"],
                   "Label" => [ "十五天","一个月", "二个月", "三个月", "四个月", "五个月", "六个月", "七个月", "八个月", "九个月", "十个月", "十一个月", "十二个月", "五天", "十天"],
                   "on" => ["mark_price m","m.code=a.code","left"]
               ]
       ],
        /**
         *  日志
         */
        "usersjournallog"=> [
            "a" =>
                [//a.id,a.name,a.content,u.mobile,iv.user_name,a.created_at,a.is_admin
                    "Filed" => ["id","name","content","created_at","is_admin"],
                    "Label" => [ "ID","名称","内容","操作人","操作IP","时间"],
                ],
            "u" =>
                [
                    "Filed" => [ "mobile"],
                    "Label" => [ "电话"],
                    "on" => ["users u","u.id = a.user_id","left"]
                ],
            "iv" =>
                [
                    "Filed" => [ "user_name"],
                    "Label" => [ "姓名"],
                    "on" => ["users_invest iv","u.id = iv.user_id","left"]
                ]
        ],     /**
         *  系统消息
         */
        "sysmessage"=> [ //系统消息
            "a" =>
                [//a.id,a.name,a.content,u.mobile,iv.user_name,a.created_at,a.is_admin
                    "Filed" => ["id","action","name","action_man","content","action_ip","code","msg","created_at"],
                    "Label" => [ "ID","名称","内容","操作人","操作IP","时间"],
                ],
            "sf" =>
                [
                    "Filed" => [ "user_name","staff_name"],
                    "Label" => [ "登录名","员工名称"],
                    "on" => ["admin_staff sf","sf.id = a.action_man","left"]
                ],

        ],
        /**
         *  站点配置
         */
        "pcsite"=> [ //系统消息
            "a" =>
                [//a.id,a.name,a.content,u.mobile,iv.user_name,a.created_at,a.is_admin
                    "Filed" => ["id","key","value","is_images","position","title","created_at","sub_content"],
                    "Label" => [ "ID","键","值","图片","位置ID","标题","时间"],
                ],
            "p" =>
                [
                    "Filed" => [ "name","position_key"],
                    "Label" => [ "位置名","位置标识"],
                    "on" => ["pc_site_position p","p.id = a.position","left"]
                ],

        ],


        "adminagent"=> [ //代理商列表
            "a" =>
                [
                    "Filed" => ["id","auth","status","kaihui_bank","bank_no","remark","agent_name","contacts_tel","cash","bank_name","agent_id","agent_key_no","money","area","commission"],
                    "Label" => [ "ID","权限组","状态","开户行","银行卡号","备注","代理商名称","联系电话","保证金","银行名称","父级ID","代理商编号"],
                ],

        ],
        "adminstaff"=> [ //代理商列表
            "a" =>
                [
                    "Filed" => ["id","staff_name","user_name","commison","money","tel","status","staff_key_no","login_status","admin_group_id","agent_id","is_m_show"],
                    "Label" => [ "ID","权限组","状态","开户行","银行卡号","备注","代理商名称","联系电话","保证金","银行名称","父级ID","代理商编号"],
                ],

        ],
    ];




?>